/* ********************************
 * 
 * author:  sunsc
 * date:    06/25/2013
 * update:  06/25/2013
 * file: databaseOper.h 
 * brief: Copyright (c) 2013 Sand
 * 
 ********************************/

#ifndef		__H_DATABASE_OPER
#define		__H_DATABASE_OPER
#include  "hiredis.h"
#include  "head.h"
//////////// datastruct define district /////////////////
#define		NOT_OK						-1
#define   OK								 0






//////////// function define district /////////////////
redisContext* dBConnect(unsigned int idBId);

#endif
